package com.fatdetection.demo.service;

import com.fatdetection.demo.bean.Record;

import java.util.Date;
import java.util.List;


public interface RecordService {
    Record getRecord(String phone, String partName);
    public Boolean insertRecord(Record record);

    public Boolean delRecord(Integer id);

    public Boolean updateRecord(Record record);

    public List<Record> findAll();

    public List<Record> findByPart(String partName);

    public List<Record> findByStuId(String stuId);
    List<Record> findByCtime(Date startT, Date endT, String partName, String userId);
}
